
<template>
  <div class="main">
    <div class="login" @click="qwe">123</div>
  </div>
</template>
<script setup>
// vue
import { ref, reactive } from "vue";
import { login } from "@/api/login.js";
const qwe = () => {
  const data = { a: 1 };
  login(data).then((res) => {
    console.log(res);
  });
};
</script>
<style lang="less" scoped>
</style>